package com.example.demo.activiti;

import lombok.Data;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

/**
 * @author LIN
 * @date 2022-10-05 11:02
 */
@Data
public class LeaderTaskListener implements TaskListener {


    @Override
    public void notify(DelegateTask delegateTask) {
        System.out.println("LeaderTaskListener:"+delegateTask);
        System.out.println(delegateTask.getVariables());
    }
}
